<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class UserPromoteRecord extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'user_promote_records';

    protected $fillable = [
        'user_id',
        'promote_desc',
        'promote_type',
        'promote_score'
    ];

    public function user()
    {
        return $this->belongsTo(User::class);
    }
}
